<!-- 一级路由页面占位 -->
<template>
  <div>
    <RouterView></RouterView>
    <div>count{{ counterStore.count }}</div>
    <div>
      doubleCount{{ counterStore.doubleCount }}
    </div>
    <button @click="counterStore.increment">+1</button>
  </div>
</template>

<script setup lang="ts">
import { useCounterStore } from '@/stores/counter'
const counterStore = useCounterStore()
</script>

<style lang="less" scoped></style>
